﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResDoControl
    {
        /// <summary>
        /// 门禁点唯一标识
        /// </summary>
        public string doorIndexCode { get; set; }
        /// <summary>
        /// 0: 标识反控成功
        /// 其他: 表示失败，原因参考附录E.2.1 门禁管理错误码
        /// https://open.hikvision.com/docs/5a6616f2134e43d1ba338309a8df2387?curNodeId=5a6616f2134e43d1ba338309a8df2387#ffa8694a
        /// 操作成功	无	0x00000000	success
        /// 用户不存在 请求中传入正确登录用户ID	0x02f19089	user is not exist.
        /// 请求参数含有非法字符  请求参数中消除非法字符 0x02f19094	%param% can’t contains illegal characters like (/\:?’<>|) !
        /// </summary>
        public int controlResultCode { get; set; }
        /// <summary>
        /// 与controlResultCode对应的描述，见附录E.2.1 门禁管理错误码
        /// https://open.hikvision.com/docs/5a6616f2134e43d1ba338309a8df2387?curNodeId=5a6616f2134e43d1ba338309a8df2387#ffa8694a
        /// 操作成功	无	0x00000000	success
        /// 用户不存在 请求中传入正确登录用户ID	0x02f19089	user is not exist.
        /// 请求参数含有非法字符  请求参数中消除非法字符 0x02f19094	%param% can’t contains illegal characters like (/\:?’<>|) !
        /// 
        /// </summary>
        public string controlResultDesc { get; set; }
    }

}
